Hi,
So I have removed the delegation warning on my code using the With Statement. However I found out now that it is not retrieving all the records. It is not delegable even though the warning is not there. Just tested this with 5 records to be sure.

With ( {wFilterRecords: Filter(SP,
(ID=Value(IDFilterInput_2.Text) || IsBlank(IDFilterInput_2.Text)) &&
(FullName = NameFilterInput_2.Selected.DisplayName || IsBlank(NameFilterInput_2.Selected)))
)},
Switch(
sortField,
"Column1",
Sort(wFilterRecords, "Column1", If(sortDirection,Ascending,Descending)),
"Column2",
Sort(wFilterRecords, "Column2", If(sortDirection,Ascending,Descending))
))
I tried like this too
With(
{wFilterRecords:SP},
SortByColumns(
Filter(
wFilterRecords,
(ID=Value(IDFilterInput_2.Text) || IsBlank(IDFilterInput_2.Text)) &&
(FullName = NameFilterInput_2.Selected.DisplayName || IsBlank(NameFilterInput_2.Selected))
),sortField, If(sortDirection,Ascending,Descending)
))