added sorting for tracked pads