Output Category Names Dynamically for Sorting Feature