select
typeof(index),
index,
split_part(index::float, '.', 1)::int as first,
split_part(index::float, '.', 2)::int as second
from
solana.core.ez_staking_lp_actions
where
stake_account = 'DpqK55XYQwVpnqmdxEeULrpTGg3kDdVe6LA1WgayUuY7'
order by
first desc,
second desc