figured out how to sort without breaking compiler