Added in list sorting and button value display