Sorting for comp forms