added some styling for legenda button
Use the sorted function of the ro-search service