in reply to Predefined Sort

I don't understand what you're trying to do. What are the predefined values? Ordinarily for "ordering", I'd use sort, but from your example, I can't tell what order you're shooting for. It's not highest to lowest because 8080 doesn't appear at the top, and it doesn't look alphabetical either. Could you show us some of what you've tried already?