oh scriptmaker, sorry for the confusion
on page load, view all customer by default
onbutton "sort by gender" click, all customer info sort by gender
onbutton "view all customer" click, all customer info is displayed and sort by gender is removed.
so if user go to page, he will see all customer data by default.. however if he choose to click view all customer button, data would be duplicated.