c=a
b=a.sort(piyo).filter(hoge)
a=c