updates sorting to push together lists of different types of programs and uses a data attribute to get around capitalization issue