add sort for custom sort ordering