[add] frontend preview function
[add] sort by position