since this is doing an alphanumeric sort, you will need to pad the numbers with correct number of '0' on the left, if you have 100 lines of quotes you will need to add 2 zero in some cases and 1 in most. The hard part is know how many zeros to add.
You might try sorting on a date field (if it exists) as I would assume (I know, silly me) that the quotes would be in order of creation.
HTH