ui bug fixing and sort capabilities added